package com.atguigu.controller;

import jdk.internal.org.objectweb.asm.commons.SerialVersionUIDAdder;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.ResponseStatus;

/**在类上标注@ResponseStatus注解
 * @author 伟哥
 * @date 2021-06-02 10:51
 */
@ResponseStatus(reason = "用户被拒绝登陆",value = HttpStatus.NOT_ACCEPTABLE)
public class UserNameNotFoundException extends RuntimeException{
}
